package com.lovo.dao;

import com.lovo.pojo.UserDO;

public interface UserDAO {
    /**
     * 根据用户名和密码查询用户
     * @param username
     * @param pwd
     * @return
     */
    UserDO getByUsernameAndPwd(String username,String pwd);
    UserDO getById(int id);
    UserDO getByUsername(String username);
    void update(UserDO userDO);
}
